@layout("/common/_form.html",{js:["/assets/ueditor/ueditor.config.js","/assets/ueditor/ueditor.all.min.js","/assets/content/article/article_edit.js"],css:["/assets/content/article/articleEdit.css"]}){

<form class="layui-form" id="contentArticleForm" lay-filter="contentArticleForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="id" type="hidden"/>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">标题</label>
                        <div class="layui-input-block">
                            <input id="title" name="title" placeholder="" type="text" class="layui-input"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md3">
                        <label class="layui-form-label">作者</label>
                        <div class="layui-input-block">
                            <input id="author" name="author" placeholder="" type="text" class="layui-input"/>
                        </div>
                    </div>

                    <div class="layui-inline layui-col-md9">
                        <label class="layui-form-label" style="width: 100px">文章时间</label>
                        <div class="layui-input-inline">
                            <input type="text" name="articleTime" class="layui-input" id="articleTime" placeholder="文章时间">
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12" style="height: 0;margin: 0;"></div>
                    <div class="layui-inline layui-col-md3">
                        <label class="layui-form-label">服役年限</label>
                        <div class="layui-input-block">
                            <input id="serviceAge" name="serviceAge" placeholder="" type="number" class="layui-input"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md4">
                        <label class="layui-form-label">分类</label>
                        <div class="layui-input-inline">
                            <select name="categoryId">
                                <option value="">请选择分类</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md2">
                        <label class="layui-form-label">排序</label>
                        <div class="layui-input-block">
                            <input type="number" name="sortNo" placeholder="排序" min="1" class="layui-input"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">地区</label>
                        <div class="layui-input-inline">
                            <select lay-filter="area-change-1" name="provinceId">
                                <option value="">请选择省</option>
                            </select>
                        </div>
                        <div class="layui-input-inline">
                            <select lay-filter="area-change-2" name="cityId">
                                <option value="">请选择市</option>
                            </select>
                        </div>
                        <div class="layui-input-inline">
                            <select name="areaId">
                                <option value="">请选择县/区</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label" style="color: red;">标签&nbsp;*</label>
                        <input name="labelIds" type="hidden"/>
                        <div class="layui-input-block" xm-select="labelIds" id="labelIds"></div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">描述</label>
                        <div class="layui-input-block">
                            <textarea id="remark" name="description" placeholder="" placeholder="请输入内容" class="layui-textarea"></textarea>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-inline" style="width: 100%">
                            <label class="layui-form-label l-lab-text">文章内容:</label>
                            <div class="layui-input-block">
                                <div id="editor" name="textContent" type="text/plain" style="height: 200px; width: 99%;" lay-ignore></div>
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">来源</label>
                        <div class="layui-input-block">
                            <select name="originateId">
                                <option value="">请选择</option>
                            </select>
                        </div>
                    </div>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">图标<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <div class="layui-upload">
                                <button type="button" class="layui-btn" id="imageUrl">上传图片</button>
                                <div class="layui-upload-list">
                                    <img class="layui-upload-img" style="height: 100px;width: 100px" id="imageUrlPreview">
                                    <input type="hidden" name="imageUrl" id="imageUrlInputId">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">状态:</label>
                        <div class="layui-input-block">
                            <input type="radio" name="status" value="1" title="启用">
                            <input type="radio" name="status" value="0" title="禁用">
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn layui-btn-sm" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-sm layui-btn-primary" id="cancel">&emsp;取消&emsp;</button>
    </div>

</form>

@}